__author__ = 'shawhen'

import ctypes

from . import basetsd


WORD = ctypes.c_ushort
DWORD = ctypes.c_ulong
LPDWORD = ctypes.POINTER(DWORD)
BYTE = ctypes.c_ubyte
LPBYTE = ctypes.POINTER(BYTE)
UINT = ctypes.c_uint
NULL = 0

BOOL = ctypes.c_int
TRUE = 1
FALSE = 0

LONG_PTR = ctypes.c_long

# Types use for passing & returning polymorphic values
WPARAM = basetsd.UINT_PTR
LPARAM = LONG_PTR
LRESULT = LONG_PTR